package com.zhangtai.modules.vo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class    RegularListVo {

    @ApiModelProperty("转正类型，1：新员工转正，2：晋级转正 3:调动管理晋级转正")
    private List<Integer> type;

    private Date startTime;

    private Date endTime;
    @ApiModelProperty("工号")
    private String code;
    @ApiModelProperty("姓名")
    private String name;

    private Integer pageSize;

    private Integer pageNum;
    @ApiModelProperty("员工id")
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long oid;

    @ApiModelProperty("新员工转正审批，0:待发起 1：已发起待审批，2：审批完成，")
    private List<Integer> regularBpmStatus;

    @ApiModelProperty("公司")
    private String orgname;

    @ApiModelProperty("部门")
    private String beforeUnitName;

    @ApiModelProperty("岗位")
    private String beforeJobName;


    @ApiModelProperty(value=" 类型  1 干部考察期管理  2  干部转正跟踪")
    private Integer businessType;

}
